#ifndef __CLIENT_H_
#define __CLIENT_H_

#define TIMEOUT 15
unsigned int lasttime;

void *send_ping_thread(void *args);
void keep_connect(int sockfd);
//接收消息处理
void recv_data(int sockfd, char *data, int length);
void *tcp_client(void *arg);

#endif
